package org.dromara.administration.mapper;

import org.apache.ibatis.annotations.Param;
import org.dromara.administration.domain.AdmSealFile;
import org.dromara.administration.domain.vo.AdmSealFileVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 印章文件Mapper接口
 *
 * @author LUSH
 * @date 2025-05-21
 */
public interface AdmSealFileMapper extends BaseMapperPlus<AdmSealFile, AdmSealFileVo> {

    /**
     * 物理删除指定sealId的所有文件记录
     * @param sealId 公章申请ID
     * @return 删除的记录数
     */
    int deletePhysicalBySealId(@Param("sealId") Long sealId);

}
